using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace ExcellOnServices.Models
{
    public partial class Service
    {
        public Service()
        {
            this.OrderItems = new List<OrderItem>();
        }

        public int Id { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
		[AllowHtml]
        public string Description { get; set; }

        [DisplayFormat(DataFormatString = "{0:c0}")]
        public decimal Price { get; set; }

        [Required]
        [Display(Name = "Image")]
        public string ImageUrl { get; set; }

        public string Properties { get; set; }

        public Nullable<System.DateTime> CreatedDateTime { get; set; }
        public Nullable<System.DateTime> ModifiedDateTime { get; set; }
        public virtual ICollection<OrderItem> OrderItems { get; set; }
    }
}
